package com.banksoft.admin.entity;

import com.banksoft.util.DateUtil;

/**
 * Created by vanjoger on 2017/1/10.
 */
public class TransferApply {
    private String id;
    private String userId;
    private String amount;
    private String cashAmount;
    private String status;//0:待审核  1：审核通过 2：审核拒绝
    private String remark;
    private Long createTime;
    private String shrName;
    private String bz;
    private Long shTime;

    //不映射数据库
    private String dateStr;
    private String shDateStr;
    private String userAccount;
    private String userNickName;

    public String getDateStr() {
        if(createTime!=null)
            return DateUtil.getDateFromLong(createTime);
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getShDateStr() {
        if(shTime!=null)
            return DateUtil.getDateFromLong(shTime);
        return shDateStr;
    }

    public void setShDateStr(String shDateStr) {
        this.shDateStr = shDateStr;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getCashAmount() {
        return cashAmount;
    }

    public void setCashAmount(String cashAmount) {
        this.cashAmount = cashAmount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getShrName() {
        return shrName;
    }

    public void setShrName(String shrName) {
        this.shrName = shrName;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public Long getShTime() {
        return shTime;
    }

    public void setShTime(Long shTime) {
        this.shTime = shTime;
    }
}
